/*
 * Copyright (c) 2021 Apple Inc. All Rights Reserved.
 *
 * @APPLE_LICENSE_HEADER_START@
 *
 * This file contains Original Code and/or Modifications of Original Code
 * as defined in and that are subject to the Apple Public Source License
 * Version 2.0 (the 'License'). You may not use this file except in
 * compliance with the License. Please obtain a copy of the License at
 * http://www.opensource.apple.com/apsl/ and read it before using this
 * file.
 *
 * The Original Code and all software distributed under the License are
 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 * Please see the License for the specific language governing rights and
 * limitations under the License.
 *
 * @APPLE_LICENSE_HEADER_END@
 *
 */

#ifndef _TRUSTTESTS_DAEMON_OCSP_REQUEST_TESTS_H_
#define _TRUSTTESTS_DAEMON_OCSP_REQUEST_TESTS_H_

const uint8_t _ocsp_request_leaf[] = {
    0x30,0x82,0x02,0xEF,0x30,0x82,0x02,0x75,0xA0,0x03,0x02,0x01,0x02,0x02,0x08,0x4E,
    0x44,0x86,0xF9,0xD8,0x8C,0x9E,0x99,0x30,0x0A,0x06,0x08,0x2A,0x86,0x48,0xCE,0x3D,
    0x04,0x03,0x03,0x30,0x6C,0x31,0x20,0x30,0x1E,0x06,0x03,0x55,0x04,0x03,0x0C,0x17,
    0x54,0x65,0x73,0x74,0x20,0x41,0x70,0x70,0x6C,0x65,0x20,0x52,0x6F,0x6F,0x74,0x20,
    0x43,0x41,0x20,0x2D,0x20,0x47,0x33,0x31,0x26,0x30,0x24,0x06,0x03,0x55,0x04,0x0B,
    0x0C,0x1D,0x41,0x70,0x70,0x6C,0x65,0x20,0x43,0x65,0x72,0x74,0x69,0x66,0x69,0x63,
    0x61,0x74,0x69,0x6F,0x6E,0x20,0x41,0x75,0x74,0x68,0x6F,0x72,0x69,0x74,0x79,0x31,
    0x13,0x30,0x11,0x06,0x03,0x55,0x04,0x0A,0x0C,0x0A,0x41,0x70,0x70,0x6C,0x65,0x20,
    0x49,0x6E,0x63,0x2E,0x31,0x0B,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,
    0x53,0x30,0x1E,0x17,0x0D,0x32,0x30,0x30,0x36,0x32,0x35,0x32,0x33,0x34,0x31,0x32,
    0x37,0x5A,0x17,0x0D,0x33,0x35,0x30,0x36,0x32,0x32,0x32,0x33,0x34,0x31,0x32,0x37,
    0x5A,0x30,0x59,0x31,0x35,0x30,0x33,0x06,0x03,0x55,0x04,0x03,0x0C,0x2C,0x54,0x65,
    0x73,0x74,0x20,0x41,0x70,0x70,0x6C,0x65,0x20,0x41,0x70,0x70,0x6C,0x69,0x63,0x61,
    0x74,0x69,0x6F,0x6E,0x20,0x49,0x6E,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6F,0x6E,
    0x20,0x43,0x41,0x20,0x36,0x20,0x2D,0x20,0x47,0x31,0x31,0x13,0x30,0x11,0x06,0x03,
    0x55,0x04,0x0A,0x0C,0x0A,0x41,0x70,0x70,0x6C,0x65,0x20,0x49,0x6E,0x63,0x2E,0x31,
    0x0B,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,0x53,0x30,0x59,0x30,0x13,
    0x06,0x07,0x2A,0x86,0x48,0xCE,0x3D,0x02,0x01,0x06,0x08,0x2A,0x86,0x48,0xCE,0x3D,
    0x03,0x01,0x07,0x03,0x42,0x00,0x04,0x13,0xCF,0x5B,0x49,0xCA,0x59,0x56,0x92,0x3D,
    0x5C,0x46,0xD5,0x7A,0x95,0xE4,0xA0,0xB0,0x84,0x1E,0x68,0x3E,0x2C,0x13,0xB1,0xDC,
    0x4E,0x26,0xAC,0x72,0x6A,0x11,0x93,0x77,0xE3,0xA0,0xE3,0x6F,0x48,0x0B,0x96,0xF5,
    0xFE,0xD5,0xBD,0xA5,0xBC,0x4F,0x74,0x03,0xF1,0x09,0xF3,0xBF,0xC3,0x0D,0xB8,0x9B,
    0x62,0x2B,0xC0,0xD3,0x4A,0x06,0x95,0xA3,0x82,0x01,0x12,0x30,0x82,0x01,0x0E,0x30,
    0x0F,0x06,0x03,0x55,0x1D,0x13,0x01,0x01,0xFF,0x04,0x05,0x30,0x03,0x01,0x01,0xFF,
    0x30,0x1F,0x06,0x03,0x55,0x1D,0x23,0x04,0x18,0x30,0x16,0x80,0x14,0xFC,0x46,0xD8,
    0x83,0x6C,0x1F,0xE6,0xF2,0xDC,0xDF,0xA7,0x99,0x17,0xAE,0x0B,0x44,0x67,0x17,0x1B,
    0x46,0x30,0x53,0x06,0x08,0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x01,0x04,0x47,0x30,
    0x45,0x30,0x43,0x06,0x08,0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01,0x86,0x37,0x68,
    0x74,0x74,0x70,0x3A,0x2F,0x2F,0x6F,0x63,0x73,0x70,0x2D,0x75,0x61,0x74,0x2E,0x63,
    0x6F,0x72,0x70,0x2E,0x61,0x70,0x70,0x6C,0x65,0x2E,0x63,0x6F,0x6D,0x2F,0x6F,0x63,
    0x73,0x70,0x30,0x33,0x2D,0x74,0x65,0x73,0x74,0x61,0x70,0x70,0x6C,0x65,0x72,0x6F,
    0x6F,0x74,0x63,0x61,0x67,0x33,0x30,0x44,0x06,0x03,0x55,0x1D,0x1F,0x04,0x3D,0x30,
    0x3B,0x30,0x39,0xA0,0x37,0xA0,0x35,0x86,0x33,0x68,0x74,0x74,0x70,0x3A,0x2F,0x2F,
    0x63,0x72,0x6C,0x2D,0x75,0x61,0x74,0x2E,0x63,0x6F,0x72,0x70,0x2E,0x61,0x70,0x70,
    0x6C,0x65,0x2E,0x63,0x6F,0x6D,0x2F,0x74,0x65,0x73,0x74,0x61,0x70,0x70,0x6C,0x65,
    0x72,0x6F,0x6F,0x74,0x63,0x61,0x67,0x33,0x2E,0x63,0x72,0x6C,0x30,0x1D,0x06,0x03,
    0x55,0x1D,0x0E,0x04,0x16,0x04,0x14,0xA9,0x85,0xC1,0x1A,0x0A,0xE5,0xD8,0x79,0xCD,
    0xF0,0x7B,0x46,0xFA,0x99,0xEF,0x4B,0x61,0x47,0x73,0x84,0x30,0x0E,0x06,0x03,0x55,
    0x1D,0x0F,0x01,0x01,0xFF,0x04,0x04,0x03,0x02,0x01,0x06,0x30,0x10,0x06,0x0A,0x2A,
    0x86,0x48,0x86,0xF7,0x63,0x64,0x06,0x02,0x1A,0x04,0x02,0x05,0x00,0x30,0x0A,0x06,
    0x08,0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03,0x03,0x03,0x68,0x00,0x30,0x65,0x02,0x30,
    0x28,0xB1,0x65,0x9C,0x8F,0xFC,0x4E,0xF9,0xF3,0x18,0x21,0xF0,0x00,0xB7,0x76,0x23,
    0x57,0x78,0xB1,0x1A,0x71,0x15,0xD0,0xEF,0x7B,0x3C,0xAF,0x4F,0xC6,0x1C,0x4D,0x55,
    0x16,0x5D,0x1B,0x92,0xDE,0x97,0x4C,0x88,0xE4,0x8A,0x2D,0x86,0xD8,0x79,0x2D,0xB5,
    0x02,0x31,0x00,0xF4,0xBC,0xB0,0x78,0xE1,0x0E,0xF5,0x8A,0x4F,0xB9,0x23,0xD7,0x75,
    0x6B,0x88,0x23,0xDD,0xED,0xCA,0xD1,0xA0,0x27,0xC4,0x86,0xED,0x4B,0x8C,0x24,0x22,
    0x61,0x6C,0x56,0x42,0x5F,0xFA,0x2B,0x10,0x43,0xFA,0xA0,0xE8,0x27,0xB0,0xCB,0x5F,
    0xEA,0xCB,0xFB,
};

const uint8_t _ocsp_request_ca[] = {
    0x30,0x82,0x02,0x4C,0x30,0x82,0x01,0xD3,0xA0,0x03,0x02,0x01,0x02,0x02,0x08,0x78,
    0x36,0x0B,0xF4,0xB7,0xC8,0xB6,0xB0,0x30,0x0A,0x06,0x08,0x2A,0x86,0x48,0xCE,0x3D,
    0x04,0x03,0x03,0x30,0x6C,0x31,0x20,0x30,0x1E,0x06,0x03,0x55,0x04,0x03,0x0C,0x17,
    0x54,0x65,0x73,0x74,0x20,0x41,0x70,0x70,0x6C,0x65,0x20,0x52,0x6F,0x6F,0x74,0x20,
    0x43,0x41,0x20,0x2D,0x20,0x47,0x33,0x31,0x26,0x30,0x24,0x06,0x03,0x55,0x04,0x0B,
    0x0C,0x1D,0x41,0x70,0x70,0x6C,0x65,0x20,0x43,0x65,0x72,0x74,0x69,0x66,0x69,0x63,
    0x61,0x74,0x69,0x6F,0x6E,0x20,0x41,0x75,0x74,0x68,0x6F,0x72,0x69,0x74,0x79,0x31,
    0x13,0x30,0x11,0x06,0x03,0x55,0x04,0x0A,0x0C,0x0A,0x41,0x70,0x70,0x6C,0x65,0x20,
    0x49,0x6E,0x63,0x2E,0x31,0x0B,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,
    0x53,0x30,0x1E,0x17,0x0D,0x31,0x35,0x30,0x34,0x32,0x32,0x30,0x33,0x31,0x37,0x34,
    0x34,0x5A,0x17,0x0D,0x34,0x30,0x31,0x32,0x32,0x36,0x30,0x33,0x31,0x33,0x33,0x37,
    0x5A,0x30,0x6C,0x31,0x20,0x30,0x1E,0x06,0x03,0x55,0x04,0x03,0x0C,0x17,0x54,0x65,
    0x73,0x74,0x20,0x41,0x70,0x70,0x6C,0x65,0x20,0x52,0x6F,0x6F,0x74,0x20,0x43,0x41,
    0x20,0x2D,0x20,0x47,0x33,0x31,0x26,0x30,0x24,0x06,0x03,0x55,0x04,0x0B,0x0C,0x1D,
    0x41,0x70,0x70,0x6C,0x65,0x20,0x43,0x65,0x72,0x74,0x69,0x66,0x69,0x63,0x61,0x74,
    0x69,0x6F,0x6E,0x20,0x41,0x75,0x74,0x68,0x6F,0x72,0x69,0x74,0x79,0x31,0x13,0x30,
    0x11,0x06,0x03,0x55,0x04,0x0A,0x0C,0x0A,0x41,0x70,0x70,0x6C,0x65,0x20,0x49,0x6E,
    0x63,0x2E,0x31,0x0B,0x30,0x09,0x06,0x03,0x55,0x04,0x06,0x13,0x02,0x55,0x53,0x30,
    0x76,0x30,0x10,0x06,0x07,0x2A,0x86,0x48,0xCE,0x3D,0x02,0x01,0x06,0x05,0x2B,0x81,
    0x04,0x00,0x22,0x03,0x62,0x00,0x04,0xA9,0x1A,0x63,0x34,0xEF,0xBC,0xA6,0x8A,0xD6,
    0x2A,0x6A,0x38,0x22,0xE9,0x25,0xAD,0xDA,0x28,0xA0,0x49,0xC5,0x64,0xFE,0x5D,0x91,
    0xC3,0x6C,0xF7,0x99,0xE4,0xBA,0xE4,0x2A,0x5F,0x61,0xD2,0xBF,0x3B,0x6C,0xA8,0x61,
    0x11,0xB5,0xE0,0x66,0xF7,0x22,0x11,0x86,0x97,0x5D,0xC3,0xBA,0x1B,0x6D,0x55,0x7F,
    0xD0,0xF9,0x80,0xE0,0xFF,0xD9,0x05,0xAD,0x5A,0x5B,0xBF,0x3A,0x7A,0xA7,0x09,0x52,
    0x1A,0x31,0x7F,0x0C,0xA2,0xE8,0x10,0xF5,0x36,0xD3,0xC8,0xEA,0xA0,0x5B,0x0A,0x28,
    0x85,0x30,0x28,0x5F,0x94,0xF6,0x94,0xA3,0x42,0x30,0x40,0x30,0x1D,0x06,0x03,0x55,
    0x1D,0x0E,0x04,0x16,0x04,0x14,0xFC,0x46,0xD8,0x83,0x6C,0x1F,0xE6,0xF2,0xDC,0xDF,
    0xA7,0x99,0x17,0xAE,0x0B,0x44,0x67,0x17,0x1B,0x46,0x30,0x0F,0x06,0x03,0x55,0x1D,
    0x13,0x01,0x01,0xFF,0x04,0x05,0x30,0x03,0x01,0x01,0xFF,0x30,0x0E,0x06,0x03,0x55,
    0x1D,0x0F,0x01,0x01,0xFF,0x04,0x04,0x03,0x02,0x01,0x06,0x30,0x0A,0x06,0x08,0x2A,
    0x86,0x48,0xCE,0x3D,0x04,0x03,0x03,0x03,0x67,0x00,0x30,0x64,0x02,0x30,0x1A,0x14,
    0x38,0x24,0xFF,0xB4,0x08,0xCB,0xEA,0xC9,0x3B,0xDA,0xCC,0x82,0xF3,0xD9,0x0D,0xD1,
    0x2B,0x6E,0xBF,0x1F,0xC4,0x15,0x14,0x44,0xDF,0x98,0x9B,0xD7,0xDD,0xBA,0x1B,0xBE,
    0x4F,0x9F,0x17,0xA4,0xD2,0x02,0x75,0x90,0x7D,0x76,0xCC,0x93,0x16,0x2F,0x02,0x30,
    0x02,0xD7,0xDA,0x0B,0xBE,0xDD,0x3D,0xED,0xF9,0xA3,0x06,0x90,0xA9,0x58,0xBD,0x6B,
    0x7C,0x7C,0xE5,0xC5,0x4E,0x0E,0x44,0xA2,0x94,0x2F,0xB4,0x04,0x9A,0xCD,0x9B,0x69,
    0x8D,0x2A,0xC6,0x1D,0x58,0xFF,0xE3,0x32,0xB6,0xDB,0x3E,0x34,0xFF,0x67,0x70,0xF1,
};

#endif /* _TRUSTTESTS_DAEMON_OCSP_REQUEST_TESTS_H_ */
